<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<!-- themeleaf 引入通用的页码 片段-->
<form th:if="${pager}" th:fragment="pager" class="row pager-form" role="form" method="post">
    <div class="row">
        <div class="col-lg-6  col-sm-6 col-md-6">
            <div class="pagination input-group-xs">
                共<span class="total" th:text="${pager.total}">100</span>条记录
                <!--
               <span>共<span class="total" th:text="${pager.total}">100</span>条记录

                   ，每页显示
                   <select class=" input-xs" name="size" th:value="${pager.size}" th:attr="data-value=${pager.size}">
                       <option value="5">5</option>
                       <option value="10">10</option>
                       <option value="12">12</option>
                       <option value="20">20</option>
                       <option value="30">30</option>
                       <option value="40">40</option>
                       <option value="50">50</option>
                       <option value="60">60</option>
                       <option value="60">100</option>
                   </select>条，</span>
               <span><button type="submit" class="btn btn-xs">跳转到</button>第<input type="text" name="page" th:value="${pager.page}" style="width: 2.5em;height: 1.4em;text-align:center" />页</span>
               -->
            </div>
        </div>
        <div class="col-lg-6  col-sm-6 col-md-6">
            <ul class="pagination pagination-sm pager-list"  th:attr="data-size=${pager.size},data-page=${pager.page},data-total=${pager.total}" >
            </ul>
        </div>
    </div>
</form>
